package com.atguigu.gulimall.search.vo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParam {
    private String keyword;
    private Long catalog3Id;
    /**
     * sort=saleCount_asc/desc
     * sort=skuPrice_asc/desc
     * sort=hotScore_asc/desc
     */
    private String sort;

    /**
     * 是否只显示有货
     * 0-无库存；1-有库存
     */
    private Integer hasStock;
    /**
     * 价格区间
     * 1_500/_500/500_
     */
    private String skuPrice;
    /**
     * 按照品牌筛选
     */
    private List<Long> brandId;
    /**
     * 按照属性筛选
     * attrs=1_2.5寸:6寸
     */
    private List<String> attrs;
    /**
     * 页码
     */
    private Integer pageNum = 1;

    private String _queryString;
}
